#include "PDISTBData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator== (const PDISTBData::ELEMData& val1, const PDISTBData::ELEMData& val2)
{
    FIELD_COMPARE (m_VAL)
    FIELD_COMPARE (m_VALI)
    return true;
}

bool SG::DataStructure::FEM::operator== (const PDISTBData& val1, const PDISTBData& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE (m_TYPE)
    FIELD_COMPARE (m_pId)
    FIELD_COMPARE (m_PNAME)
    FIELD_COMPARE (m_LOCNUM)
    FIELD_COMPARE (m_SCALE)
    FIELD_COMPARE (m_OFFSET)
    FIELD_COMPARE (m_domainId)
    return true;
}